package com.shiguiwu.springmybatis.app.dto;

import com.shiguiwu.springmybatis.app.convert.UserConvert;
import com.shiguiwu.springmybatis.app.entity.User;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import java.util.Date;

/**
 * @description: yinghu
 * @author: stone
 * @date: Created by 2021/11/4 23:19
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.dto
 */
@Slf4j
@Data
public class RequestUser {

    private String userId;

    private String password;

    private Boolean publish;

    public static void main(String[] args) {

        RequestUser user = new RequestUser();

        user.setPublish(true);
        if (user.publish) {
            log.info("==============> {}", user.publish);
        }

        log.info("判断一下，包装类 ===> {}", user.publish);
    }


}
